Skip to content

chore: remove web-search/searxng feature - #32

Closed
sandstream wants to merge 1 commit into
mainfrom
chore/flush-web-search
Closed

sandstream wants to merge 1 commit into
mainfrom
chore/flush-web-search

Conversation

@sandstream

@sandstream sandstream commented Jun 22, 2026 •

Copy link
Copy Markdown
Owner

Closing — decision: keep web search. It's on-brand (self-hosted searxng = local-first, no query leakage, no telemetry — "intelligence stays where you put it"), and removing it is a risky refactor of the plugin-capability model for debatable benefit. Kept intact.

(Original removal description preserved below for reference.)


Web search (self-hosted searxng provider health-check + MCP context field + [web.search] config + a searxng/instance service adapter + a web_search_provider plugin capability) was assessed as agent-runtime-service creep. Decision: keep it — it fits kit's local-first/no-telemetry ethos. No code removed.

Web search (self-hosted searxng provider health-check + MCP context field +
[web.search] config + service adapter + plugin web_search_provider capability)
is a runtime capability for the agent, not part of kit's deterministic setup +
gate. It's the orchestrator/harness's job to give agents tools, not kit's.

Removes the feature end to end:
- delete check-web-search, validation/dynamic-schema, adapters/searxng-instance,
  and plugin-registry.ts (the web_search-only capability registry; the real
  plugin engine lives in plugins.ts and is untouched)
- de-wire cli.ts (check flow + JSON + status print), mcp-server.ts (context),
  output.ts (printWebSearchStatus), config.ts (WebSearchConfig + [web] schema +
  section allow-list), completions + adapters registry
- drop [web.search] from .kit.toml and the searxng/instance docs from README

Verified: clean build, full suite 2327/2327 green, `kit check` runs (15/15
checks pass) with no web-search references remaining.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015ERHw6bVUz39sAuoQZ1iyg
@github-actions

Copy link
Copy Markdown

✅ Docker image built successfully

  • CLI image: docker.io/sandstream/kit:test

@sandstream sandstream closed this Jun 22, 2026
@sandstream
sandstream deleted the chore/flush-web-search branch June 22, 2026 07:41
sandstream added a commit that referenced this pull request Jul 10, 2026
…on R1) (#308)

First reconciliation step (kit-research #32): the profile's [scope].fs is a path LIST but the
exec-broker's BrokerPolicy.fs was a single root. Extend it to represent a list so the signed
profile scope (next step) maps faithfully:

- BrokerPolicy.fs gains an optional roots[] alongside the required root; the effective allowed
  set is [root, ...roots] (policyFsRoots helper, de-duplicated). root stays required so the
  existing .kit-exec-broker.json shape and all existing tests are unaffected (non-breaking).
- loadBrokerPolicy validates roots fail-closed (any non-string[] → null).
- collectDenials: an fs write is allowed iff SOME allowed root passes BOTH the pure traversal
  gate AND the symlink-aware realpath gate; denied only when every root rejects it.

Pure/loader change, no behavior change for single-root policies. Tests: validator accepts
roots; brokerExec allows a write under any listed root, denies one under none.


Claude-Session: https://claude.ai/code/session_01DbF4MFePXWNCd4dxBQvqH2

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants